<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title></title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link rel="stylesheet" href="./css/font.css">
        <link rel="stylesheet" href="./css/xadmin.css">
        <script src="./lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="./js/xadmin.js"></script>
        <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
        <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
    <div style="margin:0 auto" class="layui-carousel" id="test1">
        <div carousel-item>
            <div><img src="/assets/img/bg1.jpg"></div>
            <div><img src="/assets/img/bg11.jpg"></div>
            <div><img src="/assets/img/bg3.jpg"></div>
            <div><img src="/assets/img/bg4.jpg"></div>
            <div><img src="/assets/img/bg5.jpg"></div>
            <div><img src="/assets/img/bg6.jpg"></div>
            <div><img src="/assets/img/bg7.jpg"></div>
            <div><img src="/assets/img/bg8.jpg"></div>
        </div>
    </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body ">
                            <blockquote class="layui-elem-quote">欢迎您：
                                <span class="x-red" th:text="${session.user.realname}"></span>
                            </blockquote>
                        </div>
                    </div>
                </div>


                <script>
                    layui.use('carousel', function(){
                        var carousel = layui.carousel;
                        //建造实例
                        carousel.render({
                            elem: '#test1'
                            ,width: '80%' //设置容器宽度
                            ,arrow: 'always' //始终显示箭头
                            //,anim: 'updown' //切换动画方式
                        });
                    });
                </script>


                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">用户信息</div>
                        <div class="layui-card-body ">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <th>游戏名：</th>
                                        <td th:text="${session.user.realname}"></td>
                                    </tr>
                                    <tr>
                                        <th>上次登录ip</th>
                                        <td th:text="${session.user.ip}"></td>
                                    </tr>
                                    <tr>
                                        <th>注册时间</th>
                                        <td th:text="${#dates.format(session.user.regdate,'yyyy-MM-dd HH:mm:ss')}"></td>
                                    </tr>
                                    <tr>
                                        <th>银币：</th>
                                        <td th:text=""></td>
                                    </tr>

                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">开发团队</div>
                        <div class="layui-card-body ">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <th>版权所有</th>
                                        <td>LengMou
                                            <a href="#" target="_blank">访问官网</a></td>
                                    </tr>
                                    <tr>
                                        <th>开发者</th>
                                        <td>回忆成冰(20279444416@qq.com)</td></tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <style id="welcome_style"></style>
                <div class="layui-col-md12">
                    <blockquote class="layui-elem-quote layui-quote-nm">感谢layui,百度Echarts,jquery。</blockquote>
                </div>
            </div>
        </div>
    </body>
</html>